Spread Windows Forms 7.0 Product Documentation
OnInsert Method
See Also  Support Options
GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > CollectionBase<T> Class : OnInsert Method


index
The zero-based index at which to insert the value.
value
The new value of the element at the index.

Glossary Item Box

Performs additional custom processes before inserting a new element into the System.Collections.CollectionBase instance.

Syntax

Visual Basic (Declaration) 
Protected Overrides Sub OnInsert( _
   ByVal index As Integer, _
   ByVal value As Object _
) 
Visual Basic (Usage)Copy Code
Dim instance As CollectionBase(Of T)
Dim index As Integer
Dim value As Object
 
instance.OnInsert(index, value)
C# 
protected override void OnInsert( 
   int index,
   object value
)

Parameters

index
The zero-based index at which to insert the value.
value
The new value of the element at the index.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.